//app.js
App({
  globalData: {
    userInfo: null,
    data:{},
    interview:{},
    enroll:{},
    out:{},
    pass:{},
    department:'',
    name:'',
    isRegister:false,
    address:'',
    mark:{},
    sum:0,
    list:{},
    checked:0,
  },
    onLaunch: function() {
      wx.BaaS = requirePlugin('sdkPlugin')
      //让插件帮助完成登录、支付等功能
      wx.BaaS.wxExtend(wx.login, wx.getUserInfo, wx.requestPayment)
      wx.BaaS.auth.loginWithWechat().then(user => {
        // 登录成功
      }, err => {
        // 登录失败
      })
      let clientID = 'ceda4a19912310136188'  // 应用名称: 清泽心雨报名后台
      wx.BaaS.init(clientID)
    }

})